package com.ym.medical.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 问诊订单对象 inquiry_order
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("问诊订单-列表")
@Data
public class InquiryOrderListPcVO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键")
	private Long id;

	@ApiModelProperty("用户ID")
	private Long userId;

	@ApiModelProperty("定价实例ID")
	private Long ruleId;

	@ApiModelProperty("问诊患者id")
	private Long patientId;

	@ApiModelProperty("01找医生 02 自诊 03 快速问诊")
	private String orderSource;

	@ApiModelProperty("病情描述")
	private String illnessDesc;

	@ApiModelProperty("是否线下就诊")
	private String isTreatment;

	@ApiModelProperty("问诊人联系电话")
	private String phoneNo;

	@ApiModelProperty("患病时长")
	private String illnessDuration;

	@ApiModelProperty("过敏史")
	private String allergyHistory;

	@ApiModelProperty("重大疾病,慢病例")
	private String majorDiseases;

	@ApiModelProperty("订单编号")
	private String ioNum;

	@ApiModelProperty("订单类型 01待接单 02已接单 03完成 04	取消 05待生效")
	private String ioType;

	@ApiModelProperty("01 微信 02 支付宝 03 其它")
	private String paymentWay;

	@ApiModelProperty("应付金额")
	private Double payableAmount;

	@ApiModelProperty("实际支付金额")
	private Double paymentPrice;

	@ApiModelProperty("01 待支付 02 已支付 03 退费申请中 04 已退费 05 订单异常 06 全科订单")
	private String paymentState;

	@ApiModelProperty("支付来源 (01-小程序 02-公众号)")
	private String paySource;

	@ApiModelProperty("支付时间")
	private Date paymentTime;

	@ApiModelProperty("预约时间的规则ID(目前仅视频问诊)")
	private Long appointTimeRule;

	@ApiModelProperty("null")
	private Date appointTime;

	@ApiModelProperty("01 待接单 02 已接单  03 完成 04 取消 05 待生效")
	private String ioState;

	@ApiModelProperty("优惠券主键")
	private Long relId;

	@ApiModelProperty("支付备注")
	private String payRemark;

	@ApiModelProperty("阅读数")
	private Integer readNum;

	@ApiModelProperty("预付表主键")
	private Long prepaymentId;

	@ApiModelProperty("0 不公开  1 公开")
	private String isPublic;

	@ApiModelProperty("结束时间")
	private Date ioEndtime;

	@ApiModelProperty("付款账户")
	private String payAcc;

}
